package com.hjy.websocket.domain;

import lombok.Data;
import org.java_websocket.WebSocket;

import java.lang.reflect.Method;
import java.time.LocalDateTime;
import java.util.HashMap;
import java.util.Map;

//存放Ws产生的各种数据
public class WsData {

    //超时时间
    public static Long time = 30L;

    //间隔时间
    public static Long intervalTime = 5L;




    public static Map<String, WebSocket> clientMap = new HashMap<>();

    public static Map<String, LocalDateTime> clientTimeMap = new HashMap<>();

}
